package com.nit.elasticsearch.client;

import com.nit.elasticsearch.repository.MyElasticsearchRepository;
import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author :fjw
 * @description:TODO
 * @date :2020/11/2 22:11
 */
@RestController
public class MyElasticSearch {
	@Autowired
	ElasticsearchRestTemplate template;
	@Autowired
	MyElasticsearchRepository repository;

	@Autowired
	RestHighLevelClient restHighLevelClient;


}
